![]() |
pCon.planner Plugin SDK
Version 8.16
|
A two dimensional float vector or point. More...
Public Member Functions | |
| GeVec2d (double x, double y) | |
| Constructor. More... | |
| GeVec2d | Normalized () |
| Returns a new vector with normalized length. More... | |
| bool | IsSame (GeVec2d other, double tol) |
| Returns true if this vector equals another vector using a tolerance. More... | |
| GeVec2f | ToVec2f () |
| Converts this vector to GeVec2f. More... | |
Public Attributes | |
| double | x |
| X coordinate. More... | |
| double | y |
| Y coordinate. More... | |
Properties | |
| double | Length [get] |
| Returns the length of the vector. More... | |
| double | Length2 [get] |
| Returns the squared length of the vector. More... | |
A two dimensional float vector or point.
| X3g::Plugin::GeVec2d::GeVec2d | ( | double | x, |
| double | y | ||
| ) |
Constructor.
| bool X3g::Plugin::GeVec2d::IsSame | ( | GeVec2d | other, |
| double | tol | ||
| ) |
Returns true if this vector equals another vector using a tolerance.
| GeVec2d X3g::Plugin::GeVec2d::Normalized | ( | ) |
Returns a new vector with normalized length.
| double X3g::Plugin::GeVec2d::x |
X coordinate.
| double X3g::Plugin::GeVec2d::y |
Y coordinate.
|
get |
Returns the length of the vector.
|
get |
Returns the squared length of the vector.
1.8.4